home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 4 / The 640 Meg Shareware Studio CD-ROM Volume IV (Data Express)(1994).ISO / clang / progress.zip / PROGRESS.H < prev    next >
Text File  |  1993-01-04  |  904b  |  38 lines

  1. /*
  2.  * progress.h -- interface description for PROGRESS.DLL
  3.  * version 1.0, January 1993.
  4.  * Copyright (c) Stephen Crane 1993
  5.  */
  6.  
  7. // Styles
  8. #define PS_NORMAL    0        // default: a horizontal bar
  9. #define PS_NOCANCEL    1        // hide & disable CANCEL
  10. #define PS_NOPC        2        // hide percentage value
  11. #define PS_PIECHART    4        // pie chart
  12.  
  13. /*
  14.  * CreateProgress -- Create a new progress meter
  15.  * HWND hparent
  16.  * LONG maxrange
  17.  * LPSTR caption
  18.  * LONG style
  19.  * HBRUSH hfill
  20.  * returns handle to progress meter window
  21.  */
  22. HWND FAR PASCAL CreateProgress (HWND, LONG, LPSTR, LONG, HBRUSH);
  23.  
  24. /*
  25.  * UpdateProgress -- Update the progress meter
  26.  * HWND hprogress
  27.  * LONG position
  28.  * returns true if the progress meter still exists
  29.  */
  30. BOOL FAR PASCAL UpdateProgress (HWND, LONG);
  31.  
  32. /*
  33.  * DestroyProgress -- Destroy the progress meter
  34.  * HWND hprogress
  35.  */
  36. void FAR PASCAL DestroyProgress (HWND);
  37.  
  38.